var ErrorCode = {
    SUCCESS: 0,
}

var Command = {
    SYS_CONNECTED: 1,
    SYS_HEARD_RES: 2,
    SYS_HEART_REQ: 3,
    SYS_LOGIN: 4,
    SYS_LOGOUT: 5,
    SYS_SEARCH_ROOM: 6,
    SYS_RE_CONNECT_REQ: 7,
    SYS_RE_CONNECT_RES: 8,

    GAME_START_REQ: 20,
    GAME_START_RES: 21,
    GAME_USER_JOIN_RES: 22,
    GAME_USER_LEAVE_RES: 23,
    GAME_SEND_CARD_RES: 24,
    GAME_CALL_RES: 25,
    GAME_CALL_REQ: 26,
    GAME_BASECARD_RES: 27,
    GAME_OUT_RES: 28,
    GAME_OUT_REQ: 29,
    GAME_OVER_RES: 30,
    GAME_INFO_RES: 31,
    GAME_USER_READY_RES: 32,

    CHAT_MSG_REQ: 41,
    CHAT_MSG_RES: 42,
}

